<template>
    <div class='passByValueEmitProps'>
        全局变量 {{ $en }}
        <Parent></Parent>
    </div>
</template>

<script lang='ts' setup>
import Parent from '@/components/passByValueEmitProps/Parent.vue'
import { getCurrentInstance, toRaw, onMounted } from "vue";
const { proxy } = getCurrentInstance() as any
onMounted(() => {
    console.log('===>this0', proxy);
})
// import {ref,reactive,toRefs,defineProps,defineEmits,} from 'vue';
</script>

<style scoped lang='less'></style>